From e923ed91fb5c2c7678eda21a6849cbea1479eafb Mon Sep 17 00:00:00 2001 From: robertl Date: Mon, 10 Oct 2005 08:21:25 +0000 Subject: [PATCH] Typo fix. --- pcx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcx.c b/pcx.c index f55f166a8..33532d8be 100644 --- a/pcx.c +++ b/pcx.c @@ -99,7 +99,7 @@ data_read(void) sscanf(ibuf, "W %6c %c%lf %c%lf %s %s %ld", name, &latdir, &lat, &londir, &lon, date, time, &alt); - if (alt = -9999) { + if (alt == -9999) { alt = unknown_alt; } sscanf(&ibuf[60], "%40c", -- 2.30.2